import 'http.dart';

Future getJieqiList(int id) async {
  String url = "/solarTerms/home?id=$id";
  try {
    var response = await Http.request(url, method: Http.GET);
    return response['body'];
  } catch (e) {
    print(e);
  }
}

Future getJieqiDetail(String id) async {
  String url = "/solarTerms/detail?id=$id";
  try {
    var response = await Http.request(url, method: Http.GET);
    return response['body'];
  } catch (e) {
    print(e);
  }
}
